package com.kintreda.ieco_server.bean.massage;

import com.kintreda.ieco_server.bean.system.BaseVo;
import org.hibernate.annotations.Type;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *
 * 通知消息 直接使用 数据通知 项目太小就不用消息队列
 *
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.bean
 * @Author ZhongYao_H
 * @Date 2019/5/12:15:48
 * @Year 2019 Month 05 Day 12
 * @Date_zh 2019 年 五月 星期日
 */

@Entity
@Table(name = "massage")
public class Massage extends BaseVo {
    private String destination;//目标人
    private String title;//标题
    @Type(type = "text")
    private String body;//消息内容

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
